
from rest_framework.viewsets import ModelViewSet
from meiduo_admin.serializers.spec_serializers import *
from meiduo_admin.utils.pages import MyPage

class SpecModelViewSet(ModelViewSet):
    queryset = GoodsSpecification.objects.all()
    serializer_class = SpecModelSerializer

    pagination_class = MyPage